const mysql=require('mysql');
const pool=mysql.createPool({
    host:'127.0.0.1',
    user:'root',
    password:'123',
    database:'artwork',
});

function query(sql,params,callback) {

    pool.query(sql,params,callback)
}


module.exports.query=query;
